AVEVA OMI Software Developer Kit



ArchestrA.Client.RuntimeData Namespace > DataSubscription Class > ReadOnceAsync Method : ReadOnceAsync(DataReferenceSource[],TimeSpan) Method
The data reference source array
The timeout of the read operation. When the passed in timeout is equal to or less than TimeSpan.Zero, default 30 seconds will be applied.
ReadOnceAsync(DataReferenceSource[],TimeSpan) Method
Read the runtime data once asynchronously with timeout.
Syntax
'Declaration
 
Public Overloads MustOverride Function ReadOnceAsync( _
   ByVal dataReferenceSources() As DataReferenceSource, _
   ByVal timeout As TimeSpan _
) As Task(Of VTQ())
'Usage
 
Dim instance As DataSubscription
Dim dataReferenceSources() As DataReferenceSource
Dim timeout As TimeSpan
Dim value As Task(Of VTQ())
 
value = instance.ReadOnceAsync(dataReferenceSources, timeout)
public abstract Task<VTQ[]> ReadOnceAsync( 
   DataReferenceSource[] dataReferenceSources,
   TimeSpan timeout
)

Parameters

dataReferenceSources
The data reference source array
timeout
The timeout of the read operation. When the passed in timeout is equal to or less than TimeSpan.Zero, default 30 seconds will be applied.

Return Value

The VTQ array of the references
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also